home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
jpl_c.zip
/
FPUTS.C
< prev
next >
Wrap
Text File
|
1986-05-18
|
768b
|
26 lines
/* 1.1 01-08-86 (fputs.c)
************************************************************************
* Robert C. Tausworthe *
* Jet Propulsion Laboratory *
* Pasadena, CA 91009 1986 *
************************************************************************/
#include "defs.h"
#include "stdtyp.h"
#include "stdio.h"
/************************************************************************/
METACHAR
fputs(s, fp) /* Put the string s out to the FILE fp. Return
NULL if ok, EOF if not. */
/*----------------------------------------------------------------------*/
FAST STRING s;
FILE *fp;
{
while (*s)
if (putca(*s++, fp) IS EOF)
return(EOF);
return NULL;
}